import TalkObject from '../lib/talkObject';
const talkObject = new TalkObject();
export default class Login {
    sendMessage() {
    }
    /*收到服务器回执信息的处理*/
    receiptMsg(data) {
        talkObject.setMemberId(data.data.userData);          //保存登录信息
        return { code: 301, data: '没有返回消息。' }
    }
    /*接受服务器消息的处理*/
    getMsg(msg) {
        console.log("收到服务器消息被踢下线！", msg)
        // if(msg.head.code==301){

        // }
    }
}